package com.code.service;

import com.code.entity.PageResult;
import com.code.pojo.Album;

import java.util.List;

public interface AlbumService {

    void delete(Integer id);

    void update(Album album);

    void add(Album album);

    PageResult<Album> findPage(Integer page, Integer size, Album album);

    List<Album> findAll();

    Album findById(Integer id);

    void updateImage(Album album);

    void delOne(Integer id, String uids);

    void moveAlbum(Integer albumId, String toMoveUids, Integer movedAlbumId);
}
